export const rules = {
  name: [{
    required: true,
    message: "please input name",
    trigger: "blur"
  }],
  note: [{
    required: true,
    message: "please input note",
    trigger: "blur"
  }],
};

export function Model(parent_id = 0, name = "", note = "", status = 0) {
  this.name = name;
  this.note = note;
  this.parent_id = parent_id;
  this.status = status;
}